﻿using System;
using UnityEngine.UI;

namespace Nomo.UnityCoreModule.NodeBehaviours
{
    /// <summary>
    /// 界面的关闭按钮。
    /// </summary>
    [Serializable]
    public sealed class NodeBehaviourCloseButton
    {
        /// <summary>
        /// 按钮。
        /// </summary>
        public Button button;

        /// <summary>
        /// 是否在关闭完成之后销毁界面？
        /// </summary>
        public bool destroy;
    }
}
